package com.zzxy.mybatis34.entity;

import java.util.Date;
import java.util.List;

public class Order {
    private int id;

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", userId=" + userId +
                ", number='" + number + '\'' +
                ", createTime=" + createTime +
                ", note='" + note + '\'' +
                ", user=" + user +
                ", ods=" + ods +
                '}';
    }

    private int userId;

    private String number;

    private Date createTime;

    private String note;

    private User user;

    private List<Orderdetail> ods;
}
